<?php
/**
 * @file
 * Included in most other view-control files to create appropriate header for
 * each.
 * @version 8/9/11
 * @author Matt Vartanian
 */

/**
 * @function welcomeHeader
 * Creates the header and menu for welcome.php.
 */
function welcomeHeader( )
{
	$welcomeHeader = <<<_END
    <title>Donate System</title>
    <link href="../css/tabs.css" rel="stylesheet" type="text/css" />
    <h3>Donate System</h3>    
	<hr/>
<div id="wrapper">
	<div id="leftcolumn">
	<a class="current" href="welcome.php">Home</a>
    <a href="manageDonors.php">Manage Donors</a>
    <a href="">Manage Events</a>
    <a href="">Manage Donations</a>
    <a href="administration.php">System Administration</a>
    </div>
_END;

	echo $welcomeHeader;
}

/**
 * @function manageDonorsHeader
 * Creates the header and menu for manageDonors.php.
 */
function manageDonorsHeader( )
{
	$welcomeHeader = <<<_END
    <title>Donate System</title>
    <link href="../css/tabs.css" rel="stylesheet" type="text/css" />
    <h3>Donate System</h3>    
	<hr/>
<div id="wrapper">
	<div id="leftcolumn">
	<a href="welcome.php">Home</a>
    <a class ="current" href="manageDonors.php">Manage Donors</a>
    <a href="">Manage Events</a>
    <a href="">Manage Donations</a>
    <a href="administration.php">System Administration</a>
    </div>
_END;

	echo $welcomeHeader;

	$manageDonorsHeader = <<<_END
	<div id="leftcolumn">
    <a href="individualdonorv1.php">Individuals</a>
    <a href="">Organizations</a>
    </div>
_END;
	echo $manageDonorsHeader;
}

/**
 * @function individualDonorHeader
 * Creates the header and menu for individualdonorv1.php.
 */
function individualDonorHeader( )
{
	$welcomeHeader = <<<_END
    <title>Donate System</title>
    <link href="../css/tabs.css" rel="stylesheet" type="text/css" />
    <h3>Donate System</h3>    
	<hr/>
<div id="wrapper">
	<div id="leftcolumn">
	<a href="welcome.php">Home</a>
    <a class ="current" href="manageDonors.php">Manage Donors</a>
    <a href="">Manage Events</a>
    <a href="">Manage Donations</a>
    <a href="administration.php">System Administration</a>
    </div>
_END;
	echo $welcomeHeader;

	$manageDonorsHeader = <<<_END
	<div id="leftcolumn">
    <a class ="current" href="individualdonorv1.php">Individuals</a>
    <a href="">Organizations</a>
    </div>
_END;
	echo $manageDonorsHeader;
}

/**
 * @function administrationHeader
 * Creates the header and menu for administration.php.
 */
function administrationHeader( )
{
	$welcomeHeader = <<<_END
    <title>Donate System</title>
    <link href="../css/tabs.css" rel="stylesheet" type="text/css" />
    <h3>Donate System</h3>    
	<hr/>
<div id="wrapper">
	<div id="leftcolumn">
	<a href="welcome.php">Home</a>
    <a href="manageDonors.php">Manage Donors</a>
    <a href="">Manage Events</a>
    <a href="">Manage Donations</a>
    <a class="current" href="administration.php">System Administration</a>
    </div>
_END;

	echo $welcomeHeader;
}
?>
